<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI功能展示 - 外卖平台</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            color: #333;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .header {
            text-align: center;
            color: white;
            margin-bottom: 40px;
        }
        
        .header h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
        }
        
        .header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .feature-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        }
        
        .feature-icon {
            font-size: 3rem;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .feature-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
        }
        
        .feature-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 20px;
        }
        
        .feature-highlights {
            list-style: none;
            padding: 0;
        }
        
        .feature-highlights li {
            padding: 8px 0;
            border-bottom: 1px solid #f0f0f0;
            color: #555;
        }
        
        .feature-highlights li:last-child {
            border-bottom: none;
        }
        
        .feature-highlights li:before {
            content: "✨ ";
            margin-right: 8px;
        }
        
        .demo-section {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .demo-title {
            font-size: 2rem;
            color: #333;
            margin-bottom: 20px;
            text-align: center;
        }
        
        .demo-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .demo-btn {
            padding: 15px 25px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .demo-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
        }
        
        .demo-btn.secondary {
            background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
        }
        
        .demo-btn.success {
            background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
        }
        
        .demo-btn.warning {
            background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }
        
        .stats-section {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .stat-item {
            text-align: center;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 15px;
        }
        
        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #667eea;
            margin-bottom: 10px;
        }
        
        .stat-label {
            color: #666;
            font-size: 1rem;
        }
        
        .back-btn {
            position: fixed;
            top: 20px;
            left: 20px;
            background: rgba(255, 107, 107, 0.8);
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            cursor: pointer;
            color: white;
            font-size: 20px;
            transition: all 0.3s ease;
            z-index: 1000;
        }
        
        .back-btn:hover {
            background: #ff6b6b;
            transform: scale(1.1);
        }
        
        @media (max-width: 768px) {
            .header h1 {
                font-size: 2rem;
            }
            
            .features-grid {
                grid-template-columns: 1fr;
            }
            
            .demo-buttons {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <button class="back-btn" onclick="goBack()">←</button>
    
    <div class="container">
        <div class="header">
            <h1>🤖 AI智能推荐系统</h1>
            <p>基于深度学习的个性化美食推荐，让每一餐都更智能</p>
        </div>
        
        <div class="features-grid">
            <div class="feature-card">
                <div class="feature-icon">🧠</div>
                <div class="feature-title">深度学习算法</div>
                <div class="feature-description">
                    采用神经网络技术，模拟人脑思维过程，不断学习用户偏好，提供更精准的推荐。
                </div>
                <ul class="feature-highlights">
                    <li>多层神经网络架构</li>
                    <li>自动特征提取</li>
                    <li>持续学习优化</li>
                    <li>个性化权重调整</li>
                </ul>
            </div>
            
            <div class="feature-card">
                <div class="feature-icon">🌤️</div>
                <div class="feature-title">多维度分析</div>
                <div class="feature-description">
                    综合考虑时间、天气、季节、用户行为等多重因素，提供最合适的推荐。
                </div>
                <ul class="feature-highlights">
                    <li>实时天气感知</li>
                    <li>季节饮食偏好</li>
                    <li>时段推荐优化</li>
                    <li>用户行为分析</li>
                </ul>
            </div>
            
            <div class="feature-card">
                <div class="feature-icon">💬</div>
                <div class="feature-title">自然语言对话</div>
                <div class="feature-description">
                    支持自然语言交互，理解用户意图，提供人性化的推荐服务。
                </div>
                <ul class="feature-highlights">
                    <li>智能意图识别</li>
                    <li>自然语言理解</li>
                    <li>上下文感知</li>
                    <li>个性化回复</li>
                </ul>
            </div>
            
            <div class="feature-card">
                <div class="feature-icon">📊</div>
                <div class="feature-title">实时数据分析</div>
                <div class="feature-description">
                    实时分析用户行为数据，动态调整推荐策略，提升推荐效果。
                </div>
                <ul class="feature-highlights">
                    <li>实时行为追踪</li>
                    <li>动态权重调整</li>
                    <li>A/B测试优化</li>
                    <li>效果评估反馈</li>
                </ul>
            </div>
            
            <div class="feature-card">
                <div class="feature-icon">🎯</div>
                <div class="feature-title">精准推荐</div>
                <div class="feature-description">
                    基于协同过滤和内容过滤的混合推荐算法，确保推荐精准度。
                </div>
                <ul class="feature-highlights">
                    <li>协同过滤算法</li>
                    <li>内容过滤匹配</li>
                    <li>混合推荐策略</li>
                    <li>精准度优化</li>
                </ul>
            </div>
            
            <div class="feature-card">
                <div class="feature-icon">🔄</div>
                <div class="feature-title">持续学习</div>
                <div class="feature-description">
                    系统会不断学习用户反馈，优化推荐算法，提供越来越好的服务。
                </div>
                <ul class="feature-highlights">
                    <li>用户反馈学习</li>
                    <li>算法持续优化</li>
                    <li>个性化程度提升</li>
                    <li>推荐效果改善</li>
                </ul>
            </div>
        </div>
        
        <div class="demo-section">
            <h2 class="demo-title">🚀 体验AI功能</h2>
            <p style="text-align: center; color: #666; margin-bottom: 30px;">
                点击下方按钮体验不同的AI功能，感受智能推荐的力量
            </p>
            
            <div class="demo-buttons">
                <a href="ai-chat.html" class="demo-btn">
                    💬 AI对话推荐
                </a>
                <a href="user.html#dishes" class="demo-btn secondary">
                    🤖 智能推荐
                </a>
                <a href="advanced-ai-interface.html" class="demo-btn success">
                    ⚙️ 高级AI设置
                </a>
                <a href="ai-analytics-dashboard.html" class="demo-btn warning">
                    📊 AI数据分析
                </a>
            </div>
        </div>
        
        <div class="stats-section">
            <h2 class="demo-title">📈 AI系统性能</h2>
            <div class="stats-grid">
                <div class="stat-item">
                    <div class="stat-number">95%</div>
                    <div class="stat-label">推荐准确率</div>
                </div>
                <div class="stat-item">
                    <div class="stat-number">2.3s</div>
                    <div class="stat-label">平均响应时间</div>
                </div>
                <div class="stat-item">
                    <div class="stat-number">1000+</div>
                    <div class="stat-label">菜品数据</div>
                </div>
                <div class="stat-item">
                    <div class="stat-number">50+</div>
                    <div class="stat-label">商家数据</div>
                </div>
                <div class="stat-item">
                    <div class="stat-number">24/7</div>
                    <div class="stat-label">实时服务</div>
                </div>
                <div class="stat-item">
                    <div class="stat-number">99.9%</div>
                    <div class="stat-label">系统稳定性</div>
                </div>
            </div>
        </div>
        
        <div class="demo-section">
            <h2 class="demo-title">🎯 AI推荐特色</h2>
            <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px;">
                <div style="background: #f8f9fa; padding: 20px; border-radius: 15px; text-align: center;">
                    <div style="font-size: 2rem; margin-bottom: 10px;">🌅</div>
                    <h3 style="color: #333; margin-bottom: 10px;">时间感知</h3>
                    <p style="color: #666;">根据早中晚餐时间推荐合适菜品</p>
                </div>
                <div style="background: #f8f9fa; padding: 20px; border-radius: 15px; text-align: center;">
                    <div style="font-size: 2rem; margin-bottom: 10px;">🌤️</div>
                    <h3 style="color: #333; margin-bottom: 10px;">天气适配</h3>
                    <p style="color: #666;">结合天气情况推荐适宜美食</p>
                </div>
                <div style="background: #f8f9fa; padding: 20px; border-radius: 15px; text-align: center;">
                    <div style="font-size: 2rem; margin-bottom: 10px;">🌸</div>
                    <h3 style="color: #333; margin-bottom: 10px;">季节推荐</h3>
                    <p style="color: #666;">春夏秋冬不同季节的饮食建议</p>
                </div>
                <div style="background: #f8f9fa; padding: 20px; border-radius: 15px; text-align: center;">
                    <div style="font-size: 2rem; margin-bottom: 10px;">❤️</div>
                    <h3 style="color: #333; margin-bottom: 10px;">个性偏好</h3>
                    <p style="color: #666;">学习用户口味偏好，精准推荐</p>
                </div>
            </div>
        </div>
    </div>
    
    <script>
        function goBack() {
            window.location.href = 'index.html';
        }
        
        // 添加一些动画效果
        window.onload = function() {
            const cards = document.querySelectorAll('.feature-card');
            cards.forEach((card, index) => {
                card.style.opacity = '0';
                card.style.transform = 'translateY(20px)';
                setTimeout(() => {
                    card.style.transition = 'all 0.6s ease';
                    card.style.opacity = '1';
                    card.style.transform = 'translateY(0)';
                }, index * 100);
            });
        };
    </script>
</body>
</html>
